package com.hns.can.safety.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.hns.can.common.entity.BaseEntity;

/**
 * @版权：HNS 版权所有 (c) 2013
 * @author:JeffXu
 * @version Revision 1.0.0
 * @email:835264047@qq.com
 * @see:
 * @创建日期：2014-8-22
 * @功能说明：车辆超速表对应的实体类
 * @begin
 * @修改记录:
 * @修改后版本          修改人      	修改内容
 * @2014-8-22  	         JeffXu        	创建
 * @end
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_CAR_SPDING")
public class CommCarSpdingEntity extends BaseEntity implements java.io.Serializable {
    
    @Id
    @Column(name = "RCRD_ID")
    private String     rcrdId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "ORGAN_ID")
    private String     organId;
    
    @Column(name = "LINE_ID")
    private String     lineId;
    
    @Column(name = "CAR_ID")
    private String     carId;
    
    @Column(name = "DRV_ID")
    private String     drvId;
    
    @Column(name = "RCRD_TIME")
    private String     rcrdTime;
    
    @Column(name = "RCRD_JRNL_NO")
    private String     rcrdJrnlNo;
    
    @Column(name = "EQMT_CODE")
    private String     eqmtCode;
    
    @Column(name = "LIC_PLT_NO")
    private String     licPltNo;
    
    @Column(name = "LINE_CODE")
    private String     lineCode;
    
    @Column(name = "UP_DN")
    private String     upDn;
    
    @Column(name = "PRVS_STN_NO")
    private String     prvsStnNo;
    
    @Column(name = "NEXT_STN_NO")
    private String     nextStnNo;
    
    @Column(name = "SPDING_BEGIN_TIME")
    private String     spdingBeginTime;
    
    @Column(name = "SPDING_END_TIME")
    private String     spdingEndTime;
    
    @Column(name = "SPDING_LIT_VAL")
    private BigDecimal spdingLitVal;
    
    @Column(name = "SPDING_PRD_SPEED_MAX_VAL")
    private BigDecimal spdingPrdSpeedMaxVal;
    
    @Column(name = "SPDING_PRD_SPEED_AVRG_VALUE")
    private BigDecimal spdingPrdSpeedAvrgValue;
    
    @Column(name = "SPDING_COTN_TIME")
    private BigDecimal spdingCotnTime;
    
    /* 开始经度 */
    @Column(name = "BEGIN_LO_LGT")
    private BigDecimal beginLoLgt;
    
    /* 开始纬度 */
    @Column(name = "BEGIN_LO_LTT")
    private BigDecimal beginLoLtt;
    
    /* 开始方向 */
    @Column(name = "BEGIN_LO_DRC")
    private BigDecimal beginLoDrc;
    
    @Column(name = "END_LO_LGT")
    private BigDecimal endLoLgt;
    
    @Column(name = "END_LO_LTT")
    private BigDecimal endLoLtt;
    
    @Column(name = "END_LO_DRC")
    private BigDecimal endLoDrc;
    
    @Column(name = "GEN_TIME")
    private Date       genTime;
    
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal reservedField1;
    
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal reservedField2;
    
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal reservedField3;
    
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal reservedField4;
    
    @Column(name = "RESERVED_FIELD_5")
    private String     reservedField5;
    
    @Column(name = "RESERVED_FIELD_6")
    private String     reservedField6;
    
    @Column(name = "RESERVED_FIELD_7")
    private String     reservedField7;
    
    @Column(name = "RESERVED_FIELD_8")
    private String     reservedField8;
    
    // Interface property -- 界面上需要的属性 --
    
    // -- 驾驶员姓名
    @Transient
    private String     drvName;
    
    // -- 营运线路
    @Transient
    private String     lineName;
    
    // -- 所属机构
    @Transient
    private String     organName;
    
    // -- 超速开始值
    @Transient
    private BigDecimal speedBeginValue;
    
    // -- 超速百分比
    @Transient
    private String     spdingPercent;
    
    // -- 严重度
    @Transient
    private String     spdingSeverity;
    
    // -- 超速时长
    @Transient
    private String     spdingTimeLong;
    
    // -- 发生地点
    @Transient
    private String     rcrdPlace;
    
    // -- 详细地址
    @Transient
    private String     detailAddr;
    
    @Transient
    private String		carInCd;	//车辆内部编号
    @Transient
    private String operDate; // 运营日期
    @Transient
    private BigDecimal spedCarCnt; // 超速车台
    @Transient
    private BigDecimal spedCnt;   // 超速次数
    @Transient
    private BigDecimal seriousCnt; // 严重次数
    @Transient
    private BigDecimal commonCnt; // 一般次数
    @Transient
    private BigDecimal warningCnt; // 警告次数
    @Transient
    private BigDecimal otherWarningCnt; // 其他次数
    @Transient
    private String      codeClDsc;
    @Transient
    private String     codeDsc;
    @Transient
    private String		spdingType;	//超速类型
    /** default constructor */

    @Transient
    private BigDecimal ranking;

    public CommCarSpdingEntity() {
    }
    
    // Property accessors

    public BigDecimal getRanking() {
        return ranking;
    }

    public void setRanking(BigDecimal ranking) {
        this.ranking = ranking;
    }

    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public String getUpDn() {
        return this.upDn;
    }
    
    public void setUpDn(String upDn) {
        this.upDn = upDn;
    }
    
    public String getPrvsStnNo() {
        return this.prvsStnNo;
    }
    
    public void setPrvsStnNo(String prvsStnNo) {
        this.prvsStnNo = prvsStnNo;
    }
    
    public String getNextStnNo() {
        return this.nextStnNo;
    }
    
    public void setNextStnNo(String nextStnNo) {
        this.nextStnNo = nextStnNo;
    }
    
    public String getSpdingBeginTime() {
        return this.spdingBeginTime;
    }
    
    public void setSpdingBeginTime(String spdingBeginTime) {
        this.spdingBeginTime = spdingBeginTime;
    }
    
    public String getSpdingEndTime() {
        return this.spdingEndTime;
    }
    
    public void setSpdingEndTime(String spdingEndTime) {
        this.spdingEndTime = spdingEndTime;
    }
    
    public BigDecimal getSpdingLitVal() {
        return this.spdingLitVal;
    }
    
    public void setSpdingLitVal(BigDecimal spdingLitVal) {
        this.spdingLitVal = spdingLitVal;
    }
    
    public BigDecimal getSpdingPrdSpeedMaxVal() {
        return this.spdingPrdSpeedMaxVal;
    }
    
    public void setSpdingPrdSpeedMaxVal(BigDecimal spdingPrdSpeedMaxVal) {
        this.spdingPrdSpeedMaxVal = spdingPrdSpeedMaxVal;
    }
    
    public BigDecimal getSpdingPrdSpeedAvrgValue() {
        return this.spdingPrdSpeedAvrgValue;
    }
    
    public void setSpdingPrdSpeedAvrgValue(BigDecimal spdingPrdSpeedAvrgValue) {
        this.spdingPrdSpeedAvrgValue = spdingPrdSpeedAvrgValue;
    }
    
    public BigDecimal getSpdingCotnTime() {
        return this.spdingCotnTime;
    }
    
    public void setSpdingCotnTime(BigDecimal spdingCotnTime) {
        this.spdingCotnTime = spdingCotnTime;
    }
    
    public BigDecimal getBeginLoLgt() {
        return this.beginLoLgt;
    }
    
    public void setBeginLoLgt(BigDecimal beginLoLgt) {
        this.beginLoLgt = beginLoLgt;
    }
    
    public BigDecimal getBeginLoLtt() {
        return this.beginLoLtt;
    }
    
    public void setBeginLoLtt(BigDecimal beginLoLtt) {
        this.beginLoLtt = beginLoLtt;
    }
    
    public BigDecimal getEndLoLgt() {
        return this.endLoLgt;
    }
    
    public void setEndLoLgt(BigDecimal endLoLgt) {
        this.endLoLgt = endLoLgt;
    }
    
    public BigDecimal getEndLoLtt() {
        return this.endLoLtt;
    }
    
    public void setEndLoLtt(BigDecimal endLoLtt) {
        this.endLoLtt = endLoLtt;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public BigDecimal getReservedField1() {
        return this.reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return this.reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }
    
    // Interface property accessors -- 界面上需要的属性对应的访问 --
    
    public String getDrvName() {
        return drvName;
    }
    
    public void setDrvName(String drvName) {
        this.drvName = drvName;
    }
    
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    
    public String getOrganName() {
        return organName;
    }
    
    public void setOrganName(String organName) {
        this.organName = organName;
    }
    
    public BigDecimal getSpeedBeginValue() {
        return speedBeginValue;
    }
    
    public void setSpeedBeginValue(BigDecimal speedBeginValue) {
        this.speedBeginValue = speedBeginValue;
    }
    
    public String getSpdingPercent() {
        return spdingPercent;
    }
    
    public void setSpdingPercent(String spdingPercent) {
        this.spdingPercent = spdingPercent;
    }
    
    public String getSpdingSeverity() {
        return spdingSeverity;
    }
    
    public void setSpdingSeverity(String spdingSeverity) {
        this.spdingSeverity = spdingSeverity;
    }
    
    public String getSpdingTimeLong() {
        return spdingTimeLong;
    }
    
    public void setSpdingTimeLong(String spdingTimeLong) {
        this.spdingTimeLong = spdingTimeLong;
    }
    
    public String getRcrdPlace() {
        return rcrdPlace;
    }
    
    public void setRcrdPlace(String rcrdPlace) {
        this.rcrdPlace = rcrdPlace;
    }
    
    public BigDecimal getBeginLoDrc() {
        return beginLoDrc;
    }
    
    public void setBeginLoDrc(BigDecimal beginLoDrc) {
        this.beginLoDrc = beginLoDrc;
    }
    
    public BigDecimal getEndLoDrc() {
        return endLoDrc;
    }
    
    public void setEndLoDrc(BigDecimal endLoDrc) {
        this.endLoDrc = endLoDrc;
    }
    
    public String getDetailAddr() {
        return detailAddr;
    }
    
    public void setDetailAddr(String detailAddr) {
        this.detailAddr = detailAddr;
    }

	public String getCarInCd() {
		return carInCd;
	}

	public void setCarInCd(String carInCd) {
		this.carInCd = carInCd;
	}

    public String getOperDate() {
        return operDate;
    }

    public void setOperDate(String operDate) {
        this.operDate = operDate;
    }

    public BigDecimal getSpedCarCnt() {
        return spedCarCnt;
    }

    public void setSpedCarCnt(BigDecimal spedCarCnt) {
        this.spedCarCnt = spedCarCnt;
    }

    public BigDecimal getSpedCnt() {
        return spedCnt;
    }

    public void setSpedCnt(BigDecimal spedCnt) {
        this.spedCnt = spedCnt;
    }

    public BigDecimal getSeriousCnt() {
        return seriousCnt;
    }

    public void setSeriousCnt(BigDecimal seriousCnt) {
        this.seriousCnt = seriousCnt;
    }

    public BigDecimal getCommonCnt() {
        return commonCnt;
    }

    public void setCommonCnt(BigDecimal commonCnt) {
        this.commonCnt = commonCnt;
    }

    public BigDecimal getWarningCnt() {
        return warningCnt;
    }

    public void setWarningCnt(BigDecimal warningCnt) {
        this.warningCnt = warningCnt;
    }

    public BigDecimal getOtherWarningCnt() {
        return otherWarningCnt;
    }

    public void setOtherWarningCnt(BigDecimal otherWarningCnt) {
        this.otherWarningCnt = otherWarningCnt;
    }

    public String getCodeClDsc() {
        return codeClDsc;
    }

    public void setCodeClDsc(String codeClDsc) {
        this.codeClDsc = codeClDsc;
    }

    public String getCodeDsc() {
        return codeDsc;
    }

    public void setCodeDsc(String codeDsc) {
        this.codeDsc = codeDsc;
    }

    public String getSpdingType() {
        return spdingType;
    }

    public void setSpdingType(String spdingType) {
        this.spdingType = spdingType;
    }
}
